using QiAdmin.Core;
using QiAdmin.Entity;
using QiAdmin.Model.Dtos.Input;
using QiAdmin.Model.Dtos.Output;
using QiAdmin.Model.System.Models;

namespace QiAdmin.Service.IService
{
    /// <summary>
    /// TSysRole Interface Service
    /// </summary>
    public interface ITSysRoleService : IBaseService<TSysRole, TSysRole_IN, TSysRole_OUT>
    {
        CommonResult<List<RoleTreeMenu>> GetRoleTreeMenu(TSysRoleMenu_IN input);
        CommonResult SetRoleMenu(List<TSysRoleMenu_IN> input);
        CommonResult<List<RoleTreeDept>> GetRoleTreeDept(TSysRole_IN input);

        CommonResult<List<TSysRole_OUT>> GetRoleCache();
        CommonResult AddRoleCache();
    }
}